#ifndef __error__
#define __error__
class error {
public:
    std::string msg;
    static const char *notport;
    static const char *undef;
    static const char *notfunc;
    static const char *notlist;
    static const char *ronly;
    static const char *wonly;
    static const char *fopen;
    static const char *ctrlin;
    static const char *eof;
    static const char *syntax;
    static const char *notnum;
    static const char *opera;
    error(const char *s): msg(s) { }
};
typedef boost::shared_ptr<error> Error;
#endif
